<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%
Object obj=request.getSession().getAttribute("role_resource");
if(null==obj){
	response.setStatus(1000);
	return;
}
%> 
		<script type="text/javascript">
			var store = new Ext.data.JsonStore( {
				fields: ["a","b","c", "d", "e", "f", "g"],
				data: [{a:"2011-09", b:"1000",c:"980",d:"20",e:"0.02",f:"1800",g:"1600"}]
			});

			var monbillto_pel = new Ext.Panel( {
				id: "panel",
				border:false,									
				layout: "card",
				activeItem:0,
				items:[{
					id: "p",
					xtype:"grid",
					store: store,
					autoExpandColumn: "g",
					autoExpandMin: 100,
					stripeRows: true,
					loadMask: true,
					border : false,
					boxMinHeight: 300,
					headersDisabled: true,
					columns:[
						new Ext.grid.RowNumberer( {header : "序号",		width : 35}), 
					    {dataIndex : "a",	header : "月份",				width : 140, menuDisabled: true},
					    {dataIndex : "b",	header : "账单生成量",		width : 140, menuDisabled: true},
					    {dataIndex : "c",	header : "账单发送量",		width : 140, menuDisabled: true},
					    {dataIndex : "d",	header : "退信总量",			width : 140, menuDisabled: true},  
					    {dataIndex : "e",	header : "退信率",			width : 140, menuDisabled: true},  
					    {dataIndex : "f",	header : "电子账单生成量",	width : 140, menuDisabled: true},
					    {dataIndex : "g",	header : "静电子账单量",		id: "g", menuDisabled: true}
					],
					tbar:[
						{text: "日期:"},
						{xtype:	"datefield",	format:"Y-m",	editable :false},
						{text: "--"},
						{xtype:	"datefield",	format:"Y-m",	editable :false},
						{pressed: true,			text :"查询"}
					],
					bbar: new Ext.ux.PagingToolbar({
						pageSize: limit,
						store : store
					})
				}]
			});			
			
			var CenterPanel=Ext.getCmp("CenterPanel");
			CenterPanel.removeAll();
			CenterPanel.add(monbillto_pel);
			CenterPanel.doLayout();
</script>